<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page language= "java" contentType="text/html;charset=UTF-8"%> 

<div id="add-cost-div">
    <s:form id="add-cost-form" action="json_add_accounting_Cost">

        <s:textfield label="日期" name="cost.costDate" id="add-cost-form_costDate"/>

           
	    <tr>
	    <td class="tdLabel"><label for="add-cost-form_costTypeId" class="label">支出科目:</label></td>
	    <td>
	    <select id="add-cost-form_costTypeId">
	        <option value='0' selected='selected'>- Please Select -</option>
	    </select>
	    </td>
	    <td class="tdLabel"><label for="add-cost-form_costDetailTypeId" class="label">小科目:</label></td>
	    <td>
	    <select id="add-cost-form_costDetailTypeId" name="cost.costTypeId">
	        <option value='0' selected='selected' data-skip='1'>- Please Select -</option>
	    </select>
	    </td>
	    </tr>

        <tr>
	    <td class="tdLabel"><label for="add-cost-form_assetTypeId" class="label">资产类型:</label></td>
	    <td>
	    <select id="add-cost-form_assetTypeId">
	        <option value='0' selected='selected'>- Please Select -</option>
	    </select>
	    </td>
	    <td class="tdLabel"><label for="add-cost-form_assetDetailTypeId" class="label">小科目:</label></td>
	    <td>
	    <select id="add-cost-form_assetDetailTypeId" name="cost.assetTypeId">
	        <option value='0' selected='selected'>- Please Select -</option>
	    </select>
	    </td>
	    </tr>
        <s:textfield label="金额" name="cost.amount"/>
        <s:textfield label="备注" name="cost.comment"/>
    </s:form>
</div>

